Skip to main content

Replace in Text (Regex)

REPLACE_TEXT_REGEX

Replaces text in a string using a regular expression.

Parameters

  • text (string): The source text
  • pattern (string): The REGEX pattern
  • replacement (string): The replacement text

Returns

The replaced text